#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@create Time:2018-11-20

@author:Brook
"""
from django.urls import path
from . import views


urlpatterns = [
    path("<int:tid>/addjob", views.add_job, name="add_job"),
    path("<int:tid>/runonce", views.run_once_job, name="run_once_job"),
    path("<int:tid>/removejob", views.remove_job, name="remove_job"),
    path("<int:tid>/pausejob", views.pause_job, name="pause_job"),
    path("<int:tid>/resumejob", views.resume_job, name="resume_job"),
    path("<int:tid>/checkjob", views.check_job_status, name="check_job"),
    path("scheduler/pause", views.pause_schedule, name="pause_schedule"),
    path("scheduler/resume", views.resume_schedule, name="resume_schedule"),

]

